﻿(function () {
    "use strict";

    Vue.component('crud-filter', {
        template: templates["filter"],
        data : function(){
            return {
                query : {}
            }
        },
        methods: {
            triggerQueryClick: function (e) {                
                e.preventDefault();
                this.$emit("queryClick", this.query);
            }
        }
    });
})();